package edu.neu.ecommerceplatform.dto;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

public class UpdateNameRequest {

    @NotBlank(message = "昵称不能为空")
    @Size(min = 2,max = 50, message = "昵称长度必须在 2 到 50 之间")
    private String name;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
}
